//
//  Utils+Popover.h
//  NvSellerShow
//
//  Created by Meicam on 2017/2/25.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import "Utils.h"
NS_ASSUME_NONNULL_BEGIN

@interface Utils (Popover) 

+ (void)showMessageAlertWithTitle:(nullable NSString *)title message:(NSString *)message;

+ (void)showMessageAlertWithTitle:(nullable NSString *)title message:(NSString *)message actionTitle:(NSString *)actionTitle;

+ (void)showMessageAlertWithTitle:(nullable NSString *)title message:(NSString *)message actionTitle:(NSString *)actionTitle actionHandler:(void (^ __nullable)())actionHandler;

+ (void)showConfirmAlertWithTitle:(nullable NSString *)title message:(NSString *)message yesTitle:(NSString *)yesTitle yesAction:(void (^ __nullable)())yesAction;

+ (void)showConfirmAlertWithTitle:(nullable NSString *)title message:(NSString *)message yesTitle:(NSString *)yesTitle yesAction:(void (^ __nullable)())yesAction cancelTitle:(NSString *)cancelTitle cancelAction:(void (^ __nullable)())cancelAction;

+ (void)showConfirmAlertWithTitle:(NSString *)title message:(NSString *)message firstActionTitle:(NSString *)firstActionTitle firstAction:(void (^ __nullable)())firstAction secondActionTitle:(NSString *)secondActionTitle secondAction:(void (^ __nullable)())secondAction;

+ (UIViewController *)mostFrontViewController;

//阻止屏幕上某个区域响应用户手势
//+ (void)blockUserInteractionInWindowRect:(CGRect)region;


@end
NS_ASSUME_NONNULL_END
